package com.rygl.staff.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.rygl.common.annotation.Excel;
import com.rygl.common.core.domain.BaseEntity;

/**
 * 员工基础信息对象 staff
 * 
 * @author ruoyi
 * @date 2025-05-06
 */
public class Staff1 extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 员工主键ID */
    private Long id;

    /** 中文姓名 */
    @Excel(name = "中文姓名")
    private String name;

    /** 民族 下拉框 */
    @Excel(name = "民族 下拉框")
    private String ethnicity;

    /** 性别 0男 1女 */
    @Excel(name = "性别 0男 1女")
    private String gender;

    /** 身份证号码 */
    @Excel(name = "身份证号码")
    private String idCardNumber;

    /** 出生日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出生日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date birthDate;

    /** 婚姻状况 0未婚 1已婚 */
    @Excel(name = "婚姻状况 0未婚 1已婚")
    private String maritalStatus;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phone;

    /** 个人邮箱 */
    @Excel(name = "个人邮箱")
    private String email;

    /** 政治面貌 */
    @Excel(name = "政治面貌")
    private String politicalStatus;

    /** 籍贯 */
    @Excel(name = "籍贯")
    private String nativePlace;

    /** 户籍所在地 */
    @Excel(name = "户籍所在地")
    private String address;

    /** 健康状况 */
    @Excel(name = "健康状况")
    private String healthStatus;

    /** 最高学历 下拉框 */
    @Excel(name = "最高学历 下拉框")
    private String degree;

    /** 入职日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入职日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date hireDate;

    /** 当前在职状态（试用、在职、离职） */
    @Excel(name = "当前在职状态", readConverterExp = "试=用、在职、离职")
    private String status;

    /** 员工微信号 */
    @Excel(name = "员工微信号")
    private String wechat;

    /** 员工现居住地 */
    @Excel(name = "员工现居住地")
    private String currentAddress;

    /** 紧急联系人姓名 */
    @Excel(name = "紧急联系人姓名")
    private String contactName;

    /** 与员工关系（如配偶、父亲） */
    @Excel(name = "与员工关系", readConverterExp = "如=配偶、父亲")
    private String contactRelation;

    /** 紧急联系人电话 */
    @Excel(name = "紧急联系人电话")
    private String contactPhone;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setEthnicity(String ethnicity) 
    {
        this.ethnicity = ethnicity;
    }

    public String getEthnicity() 
    {
        return ethnicity;
    }

    public void setGender(String gender) 
    {
        this.gender = gender;
    }

    public String getGender() 
    {
        return gender;
    }

    public void setIdCardNumber(String idCardNumber) 
    {
        this.idCardNumber = idCardNumber;
    }

    public String getIdCardNumber() 
    {
        return idCardNumber;
    }

    public void setBirthDate(Date birthDate) 
    {
        this.birthDate = birthDate;
    }

    public Date getBirthDate() 
    {
        return birthDate;
    }

    public void setMaritalStatus(String maritalStatus) 
    {
        this.maritalStatus = maritalStatus;
    }

    public String getMaritalStatus() 
    {
        return maritalStatus;
    }

    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }

    public void setPoliticalStatus(String politicalStatus) 
    {
        this.politicalStatus = politicalStatus;
    }

    public String getPoliticalStatus() 
    {
        return politicalStatus;
    }

    public void setNativePlace(String nativePlace) 
    {
        this.nativePlace = nativePlace;
    }

    public String getNativePlace() 
    {
        return nativePlace;
    }

    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }

    public void setHealthStatus(String healthStatus) 
    {
        this.healthStatus = healthStatus;
    }

    public String getHealthStatus() 
    {
        return healthStatus;
    }

    public void setDegree(String degree) 
    {
        this.degree = degree;
    }

    public String getDegree() 
    {
        return degree;
    }

    public void setHireDate(Date hireDate) 
    {
        this.hireDate = hireDate;
    }

    public Date getHireDate() 
    {
        return hireDate;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setWechat(String wechat) 
    {
        this.wechat = wechat;
    }

    public String getWechat() 
    {
        return wechat;
    }

    public void setCurrentAddress(String currentAddress) 
    {
        this.currentAddress = currentAddress;
    }

    public String getCurrentAddress() 
    {
        return currentAddress;
    }

    public void setContactName(String contactName) 
    {
        this.contactName = contactName;
    }

    public String getContactName() 
    {
        return contactName;
    }

    public void setContactRelation(String contactRelation) 
    {
        this.contactRelation = contactRelation;
    }

    public String getContactRelation() 
    {
        return contactRelation;
    }

    public void setContactPhone(String contactPhone) 
    {
        this.contactPhone = contactPhone;
    }

    public String getContactPhone() 
    {
        return contactPhone;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("ethnicity", getEthnicity())
            .append("gender", getGender())
            .append("idCardNumber", getIdCardNumber())
            .append("birthDate", getBirthDate())
            .append("maritalStatus", getMaritalStatus())
            .append("phone", getPhone())
            .append("email", getEmail())
            .append("politicalStatus", getPoliticalStatus())
            .append("nativePlace", getNativePlace())
            .append("address", getAddress())
            .append("healthStatus", getHealthStatus())
            .append("degree", getDegree())
            .append("hireDate", getHireDate())
            .append("status", getStatus())
            .append("wechat", getWechat())
            .append("currentAddress", getCurrentAddress())
            .append("contactName", getContactName())
            .append("contactRelation", getContactRelation())
            .append("contactPhone", getContactPhone())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
